package com.zl.staticProxy;/**
 * @author suke
 * @create 2021-08-02 14:20
 */

/**
 * TODO
 * @ClassName: Test2
 * @author: suke
 * @since: 2021/8/2 14:20
 */
public class Test2 {

    public static void main(String[] args) {
        Coffee coffee = new Coffee();
        Tea tea = new Tea();
        DrinkProxy  proxy = new DrinkProxy(tea);
        proxy.drink();
    }
}
